<%@ page language="java" import="com.imoresoft.magic.util.*"
	pageEncoding="UTF-8"%>

<div style="clear: both; height: 10px;"></div>
<div class="fieldset">
	<span style="font-weight: bold">模块名称：</span>
	<input type='text' id='setTableTitle' value="你可以能还喜欢"
		style="width: 200px" />
</div>
<div style="clear: both; height: 10px;"></div>
<div>
	<fieldset>
		<legend>
			选择样式：
		</legend>
		<div>
			<span style="cursor: pointer; float: right; margin-right: 10px;"
				onclick="init_templet();"> <img
					src="<s:url value='/img/new_style.png'/>" /> </span>
		</div>
		<p style="clear: both; height: 5px;"></p>
		<table id="style_list_table"></table>
		<div id="style_list_pager"></div>
	</fieldset>

	<div style="clear: both; height: 10px;"></div>

	<div id="choose_style_preview" class="fieldset"></div>

	<div style="clear: both; height: 10px;"></div>

	<div id="new_style_design_panel">
		<div style="text-align: center;">
			<span onclick="preview();" style="cursor: pointer;"> <img
					src="<s:url value='/img/preview.png'/>"> </span>
		</div>
		<fieldset>
			<legend>
				请选择模板：
			</legend>
			<input type="radio" name="t" value="1" class="input_align_5" checked
				onclick="display_templet('templet_1');" />
			&nbsp;模板一&nbsp;&nbsp;
			<input type="radio" name="t" value="2" class="input_align_5"
				onclick="display_templet('templet_2');" />
			&nbsp;模板二&nbsp;&nbsp;
			<input type="radio" name="t" value="3" class="input_align_5"
				onclick="display_templet('templet_3');" />
			&nbsp;模板三&nbsp;&nbsp;
		</fieldset>
		<div id="new_style_container">
			<input type="hidden" id="init_indicator" value="init" />
		</div>
		<div style="text-align: left;">
			<span style="margin-left: 0px; font-weight: bold;">样式名称：</span>
			<input type="text" maxlength="30" style="width: 200px;"
				value="<%=DateUtil.getToday()%>" id="styleName">
		</div>
		<div style="text-align: center;">
			<span onclick="preview();" style="cursor: pointer;"> <img
					src="<s:url value='/img/preview.png'/>"> </span>
		</div>
		<div style="text-align: right;">
			<input type="button" onclick="persist();"
				style="background-position: left top; margin-left: 450px;"
				onmouseout="this.style.backgroundPosition='left top'"
				onmouseover="this.style.backgroundPosition='left -50px'" value="保存"
				class="pbtn24">
			<input type="button" onclick="cancel();"
				style="background-position: left top;"
				onmouseout="this.style.backgroundPosition='left top'"
				onmouseover="this.style.backgroundPosition='left -50px'" value="取消"
				class="pbtn24">
		</div>
	</div>
</div>
<div id="prompt_preview_div"></div>
